package org.wejob.web.buffer;

import java.nio.ByteBuffer;

public class WebIOBuffer extends AbstractBuffer<ByteBuffer> {
    public WebIOBuffer(){

    }

    public WebIOBuffer(ByteBuffer byteBuffer){
        this.setVal(byteBuffer);
    }

    public void toRead(){
        this.getVal().flip();
    }
    public void toEmpty() {
        this.getVal().clear();
    }

}
